Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text

Namespace C4F.DevKit.Calendar
	''' <summary>
	''' An object to represent an attendee of a calendar appointment.
	''' </summary>    
	Public Class Attendee
		#Region "Public Constructors"

		''' <summary>
		''' Creates a new attendee.
		''' </summary>
		Public Sub New()
		End Sub

		''' <summary>
		''' Creates a new attendee.
		''' </summary>
		''' <param name="name">The name of the attendee.</param>
		''' <param name="email">The e-mail address of the attendee.</param>
		Public Sub New(ByVal name As String, ByVal email As String)
			Me.Name = name
			EmailAddress = email
		End Sub

		#End Region

		#Region "Private Members"

		Private _name As String

		Private _emailAddress As String

		#End Region

		#Region "Public Properties"

		''' <summary>
		''' The attendee's name.
		''' </summary>
		Public Property Name() As String
			Get
				Return _name
			End Get
			Set(ByVal value As String)
				_name = value
			End Set
		End Property

		''' <summary>
		''' The attendee's e-mail address.
		''' </summary>
		Public Property EmailAddress() As String
			Get
				Return _emailAddress
			End Get
			Set(ByVal value As String)
				_emailAddress = value
			End Set
		End Property

		#End Region
	End Class
End Namespace
